<?php
/**
 * 接口注册
 */
return[
    //asrserver
    //department
    'api-Department-create' => 'create',//update read delete
    'api-Department-edit' => 'update',//update read delete
    'api-Department-detail' => 'read',
    'api-Department-delete' => 'delete',
    
    //equipment
    'api-Equipment-updateStatus' => 'update',

    //group
    'api-Group-groupAdd' => 'create',
    'api-Group-groupEdit' => 'update',
    'api-Group-groupOne' => 'read',
    'api-Group-groupDel' => 'delete',

    //hotwords
    'api-Hotwords-fileCreate' => 'create',
    'api-Hotwords-fileDelete' => 'delete',
    'api-Hotwords-fileDetail' => 'read',
    'api-Hotwords-fileDownload' => 'download',
    'api-Hotwords-addWords' => 'create',
    'api-Hotwords-editWords' => 'update',
    'api-Hotwords-modelOn' => 'update',

    //index

    //languagemodel
    'api-Languagemodel-exchange' => 'update',

    //log
    'api-Log-detail' => 'read',

    //login
    'api-Login-login' => 'login', //登录
    'api-Login-logout' => 'logout', //登出

    //process
    'api-Process-accelerate' => 'update',

    //rule
    'api-Rule-create' => 'create', 
    'api-Rule-delete' =>'delete',
    'api-Rule-edit' => 'update',

    //speech
    'api-Speech-editCommit' => 'update',
    'api-Speech-delete' => 'delete',
    'api-Speech-batchDelete' => 'delete',
    'api-Speech-restore'=> 'update',
    'api-Speech-recycledDel' => 'delete',
    'api-Speech-batchRecycledDel' => 'delete',
    'api-Speech-contentEdit'=> 'update',
    'api-Speech-detail' => 'read',
    'api-Speech-operat' => 'read',
    'api-Speech-abstract' => 'read',
    'api-Speech-download' => 'download',
    'api-Speech-norealTransferResult' => 'read',
    //'api-Speech-audioUpload' => 'upload',

    //system

    //users
    'api-Users-add' => 'create',
    'api-Users-updates' => 'update',
    'api-Users-changePassword' => 'update',
    

    //version
    'api-Version-getLatestDate' => 'read',
    'api-Version-uploadVersionPackage' => 'upload',
    'api-Version-delPackage' => 'delete',
    'api-Version-forceUpdate' => 'update',
];